package com.erp.entity.goods;

/**
 * 库存预警实体类
 */
public class InventoryAlert {

    private Integer alertId;          // 主键

    private Integer goodsId;          // 商品ID

    private Integer warehouseId;      // 仓库ID（默认0为所有仓库）

    private Integer min;              // 最低库存

    private Integer max;              // 最高库存

    private Integer companyId;        // 公司ID

    public InventoryAlert() {
    }

    public InventoryAlert(Integer alertId, Integer goodsId, Integer warehouseId, Integer min, Integer max, Integer companyId) {
        this.alertId = alertId;
        this.goodsId = goodsId;
        this.warehouseId = warehouseId;
        this.min = min;
        this.max = max;
        this.companyId = companyId;
    }

    /**
     * 获取
     * @return alertId
     */
    public Integer getAlertId() {
        return alertId;
    }

    /**
     * 设置
     * @param alertId
     */
    public void setAlertId(Integer alertId) {
        this.alertId = alertId;
    }

    /**
     * 获取
     * @return goodsId
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置
     * @param goodsId
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取
     * @return warehouseId
     */
    public Integer getWarehouseId() {
        return warehouseId;
    }

    /**
     * 设置
     * @param warehouseId
     */
    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    /**
     * 获取
     * @return min
     */
    public Integer getMin() {
        return min;
    }

    /**
     * 设置
     * @param min
     */
    public void setMin(Integer min) {
        this.min = min;
    }

    /**
     * 获取
     * @return max
     */
    public Integer getMax() {
        return max;
    }

    /**
     * 设置
     * @param max
     */
    public void setMax(Integer max) {
        this.max = max;
    }

    /**
     * 获取
     * @return companyId
     */
    public Integer getCompanyId() {
        return companyId;
    }

    /**
     * 设置
     * @param companyId
     */
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String toString() {
        return "InventoryAlert{alertId = " + alertId + ", goodsId = " + goodsId + ", warehouseId = " + warehouseId + ", min = " + min + ", max = " + max + ", companyId = " + companyId + "}";
    }
}
